package com.work.demo.test;

import com.google.common.base.Objects;
import lombok.Data;

/**
 * @Author: kylin
 * @Date: 2022/2/22 上午10:42
 */
@Data
public class WareInputOriginDataset {

    private Long datasetId;

    private String nodeNid;

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        WareInputOriginDataset that = (WareInputOriginDataset) o;
        return Objects.equal(datasetId, that.datasetId) && Objects.equal(nodeNid, that.nodeNid);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(datasetId, nodeNid);
    }
}
